<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/15 0015
 * Time: 10:14
 */

namespace Cohuna\Models;

/**
 * 对账单储存表
 * @package Cohuna\Models
 */
class CohunaReconciliation extends ModelBase
{
    public $reconciliation_id;
    public $pay_id;
    public $bill_date;
    public $bill_url;
    public $create_time;

    public function getSource()
    {
        return $this->config->database->default->prefix . 'reconciliation';
    }
    public function beforeUpdate()
    {

    }
    public function beforeCreate()
    {
        $this->create_time = date('Y-m-d H:i:s');
    }
}